home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2004 October
/
PCWorld_2004-10_cd.bin
/
software
/
temacd
/
sandra
/
san2004.SP2b-9133-Win32-SSO.exe
/
{app}
/
examples
/
Report Script.sis
< prev
next >
Wrap
Text File
|
2004-01-22
|
8KB
|
248 lines
;;
;; File: "Report Script.sis" - Sample batch-mode report settings example file for SiSoftware Sandra
;;
;; Syntax: sandra /r <full path report script>
;;
;; For this example: "sandra /r script.sis"
;; Note: Use quotes if the file has spaces in it, e.g. "c:\Program Files\Script.sis"
;;
;; Warning: Include the FULL PATH to the script file, e.g. "c:\temp\script.sis" not just
;; "script.sis" even if the script file is in Sandra's own directory!
;;
;; You can create a script like this one by running the Create a Report Wizard and
;; specifying "Save the settings in a script file for later use" at step 1.
;; It's far easier to specify options this way.
[General]
;; General settings
;; Version - decimal value
Program Version=2400
;; Type of report:
;; "save" - to save to disk in a format (see 'Report File Type' for file format)
;; "emailMAPI" - to e-mail it using MAPI (see 'Report File Type' for file format)
;; "emailSMTP" - to e-mail it using SMTP (see 'Report File Type' for file format)
;; "postNews" - to post it to a newsgroup using NNTP (see 'Report File Type' for file format)
;; "print" - to print/fax the report
;; "odbc" - to insert into any ODBC data source (advanced usage)
;; "ado" - to insert into any ADO supported database/SQL Server (advanced usage)
;; "upload" - to upload it to a FTP/HTTP server
;; "postMSMQ" - to post to a queue (MSMQ) (advanced usage)
;; "registry" - to insert into system registry (advanced usage)
Report Type=save
;; if save:
;; Full name & path of report file (comment it out if email)
;; you can also use fields that will be replaced with their values at runtime
;; fields:
;; $HOST$ - computer/host name
;; $DOMAIN$ - domain/workgroup name
;; $USER$ - user name
;; $DATE$ - date report created
;; $TIME$ - time report created
Report File=Report of $HOST$ on $DATE$ at $TIME$.txt
;; If $DATE$ is specified, you can over-ride its format here.
;; See the Platform SDK - GetDateFormat for more information
;; (NOTE: some characters are NOT valid in a filename!!!)
Date Format=ddd MMM dd yyyy
;; If $TIME$ is specified, you can over-ride its format here.
;; See the Platform SDK - GetTimeFormat for more information
;; (NOTE: some characters are NOT valid in a filename!!!)
Time Format=hh mm ss tt
;; File Type:
;; "normal" (TXT)
;; "hierarchical" (RPT)
;; "web" (HTML)
;; "XML" (XML)
;; "SMS" (DMI/MIF)
Report File Type=normal
;; Tested Device Type
;; 0 - Desktop/Laptop
;; 1 - PDA / Smart Phone (WinCE)
;; 2 - PDA / Smart Phone (Palm)
Device Type=0
;; File Encoding:
;; specify either ANSI (0) or Unicode (1)
;; (program will convert as required, Unicode recommended)
File Encoding Unicode=1
;; Encrypt (CRY) report? "0"-No (default) or "1"-Yes
;; Do NOT specify with Append!
Encrypt=0
;; Encryption key string - to encrypt the report with
Encrypt Key=the key string
;; Compress (CAB) report? "0"-No or "1"-Yes (default)
;; Do NOT specify with Append!
Compress=1
;; Append to report file? "0"-No (default) or "1"-Yes
Append=0
;; If multiple copies of Sandra use the same file for the report, turn this on
;; to synchronise access to the file (each copy will wait for it to become
;; available rather than exiting) "0"-Don't (default) or "1"-Do
Wait If File Taken=1
; Set the number of characters per line, between 10 to 200 (default 90)
External Line Size=90
;; if email: Address of user(s) to send to, subject, e.g.:
;Email Send To=Sandra@sisoftware.net
;Email Send Cc=Info@sisoftware.net
;Email Send Bcc=Blind@sisoftware.net
;Email Subject=SiSoftware Sandra System Report
;; address/account of sender
;Email Sender=Report@sisoftware.net
;; SMTP server information
;Email SMTP Host=post.server.com
;Email SMTP Port=25
;; SMTP server authentication
;Email SMTP SSL Auth=0
;EMail Login User=user
;EMail Login Password=post
;; if you want to encrypt the login, use the following 2 fields instead
;EMail Login User Encrypted=00000000
;EMail Login Password Encrypted=00000000
;; if post: News server details
;News NewsGroup=public.test
;News Host=news.server.com
;News Port=119
;; address/account of sender
;News Sender=Report@sisoftware.net
;; News server authentication
;News SSL Auth=0
;News Login User=user
;News Login Password=post
;; if you want to encrypt the login, use the following 2 fields instead
;News Login User Encrypted=00000000
;News Login Password Encrypted=00000000
;; if print: the printer/device name (verbatim!!!)
;Printer Name=Canon BJ-20
;; if insert into ODBC database: enter the data source details, e.g.:
;ODBC DSN=SandraReport
;ODBC UserName=Test
;ODBC Password=sql
;; if you want to encrypt the login, use the following 2 fields instead
;ODBC UserName Encrypted=00000000
;ODBC Password Encrypted=00000000
;; 1 if identity/autoincrement is supported (e.g. SQL Server/Access); 0 if not
;ODBC Identity Support=1
;; 1 if sequences are supported (e.g. Oracle); 0 if not
;ODBC Sequence Support=0
;; 1 if client cursors; 0 if server cursors
;ODBC Client Cursors=0
;; if insert into ADO database: enter database details, e.g.:
;; SQLOLEDB (SQL Server); MSDAORA (Oracle); MSDASQL (ODBC); Microsoft.Jet.OLEDB.X.XX (Access)
;ADO Provider=SQLOLEDB
;; Database host server
;ADO Server=LocalHost
;; SQL Server database; Oracle (schema); ODBC DSN
;ADO Database=SandraDB
;; Only useful if using the ADO-to-ODBC bridge. Enter the verbatim name of the ODBC driver
;ADO Driver=Microsoft Access Driver (*.mdb)
;; 1 if identity/autoincrement is supported (e.g. SQL Server/Access); 0 if not
;ADO Identity Support=1
;; 1 if sequences are supported (e.g. Oracle); 0 if not
;ADO Sequence Support=0
;; 1 if client cursors (e.g. Oracle); 0 if server cursors (e.g. SQL Server)
;ADO Client Cursors=0
;; 0 for database security (specify username/password); 1 for NT authentication
;ADO NT Security=0
;; only if database security specified
;ADO UserName=Test
;ADO Password=sql
;; if you want to encrypt the login, use the following 2 fields instead
;ADO UserName Encrypted=00000000
;ADO Password Encrypted=00000000
;; if ftp upload: enter the server connection (inc path), e.g.:
;Upload URL=http://www.sisoftware.co.uk/uploadedreports/
;Upload URL=ftp://ftp.sisoftware.co.uk/uploadedreports/
;; 1 if anonymous; 0 specify user/password
;Upload Anonymous=1
;Upload User=guest
;Upload Password=guest_pass
;; if you want to encrypt the login, use the following 2 fields instead
;Upload User Encrypted=00000000
;Upload Password Encrypted=00000000
;; if post to queue/MSMQ: enter queue path, e.g.:
;MSMQ Queue=\\computer\public\SandraReport
;; 1 if transactional; 0 if not
;MSMQ Transactional=0
;; 1 if accessible to all; 0 only to creator
;;MSMQ Public Access=1
;; 0 if plain; 1 encrypt message body (not needed if file already encrypted)
;MSMQ Encrypted=0
;; 1 to use current user login credentials; 0 specify user/password
;MSMQ Default Credentials=1
;MSMQ User=guest
;MSMQ Password=guest_pass
;; if you want to encrypt the login, use the following 2 fields instead
;MSMQ User Encrypted=00000000
;MSMQ Password Encrypted=00000000
;; Enter your comments here - one line only!
Comments=This is a test batch-mode report.
;; Display progress dialog? "0"-No or "1"-Yes (default)
Progress Dialog=1
;; Exit after report is done? "0"-No or "1"-Yes (default)
Exit After Done=1
[Modules]
;; Module List "0"-To exclude(default) or "1"-To include module
;; Use Help to find out the command-line switch for a particular module.
SummaryInfo=1
CPUInfo=1
VideoInfo=1
WinMemInfo=1
OLEInfo=1
System.ini=0
Win.ini=0
;; etc.
;; Uncomment this line to include all available modules
;AllModules=1
;; Uncomment this line to include all information modules
;InfoModules=1
;; Uncomment this line to include all benchmarking modules
;BenchmarkModules=1
;; Uncomment this line to include all listing modules
;ListModules=1
;; Uncomment this line to include all testing modules
;TestModules=1
;; That's it - good luck & good hunting!
;;
;; If you have issues or comments, please contact us.
;;